home *** CD-ROM | disk | FTP | other *** search
- Path: newshub.cts.com!usenet
- From: rdh@cts.com (Bob Harvey)
- Newsgroups: comp.lang.c
- Subject: Re: Intel CPU determination in C?
- Date: Wed, 03 Jan 1996 16:52:10 GMT
- Organization: San Diego, CA
- Message-ID: <30eab21d.6409934@news2.cts.com>
- References: <1995Dec30.024206.1@vaxa> <Pine.SV4.3.91-heb-2.04.951231161631.21129A-100000@cs.technion.ac.il>
- NNTP-Posting-Host: rdh.cts.com
- X-Newsreader: Forte Agent .99c/16.141
-
- On 30 Dec 1995 drosenblum1@vaxa.hofstra.edu wrote:
- > Does anyone have/know of any Turbo C, Borland C or Visual C code that
- > determines the type of CPU a computer has?
-
- I have seen the code that Intel recommends to identify the different
- CPU's on their FTP side: ftp.intel.com in one of the directories off
- of the /pub/ directory. However, I believe that all the examples they
- showed was in assembler. Because of the special CPU instructions and
- operations required, I do not believe it can be accomplished using a
- high level language. You might want to check out the FTP site and see
- what you think.
-
- Good Luck,
-
- Bob Harvey
- rdh@cts.com
- San Diego, CA USA
-